import request from '@/utils/request'

const operateLog = {
  // 获取操作日志列表
  getOperateList(data) {
    return request({
      url: '/energy-carbon/grass-core/operationLog/queryPage',
      method: 'post',
      data
    })
  },
  // 获取日志详情
  getOperationLogDetail(data) {
    return request({
      url: '/energy-carbon/grass-core/operationLog/detail',
      method: 'post',
      data
    })
  },
  // 批量删除
  operationLogBatchDelete(data) {
    return request({
      url: '/energy-carbon/grass-core/operationLog/batchDelete',
      method: 'post',
      data
    })
  }
}

export default operateLog
